package com.shun.entity

import com.shun.commons.IDEntity
import org.springframework.data.mongodb.core.mapping.Document
import java.util.*

/**
 * Created by Administrator on 2017/8/13.
 */
@Document(collection = "dispatch")
class Dispatch : IDEntity() {

    var company: Company? = null

    var machine: Machine? = null

    var type: String? = null

    // 押金
    var money: Double? = null

    //押金类型
    var moneyType: String? = null

    // 机具行
    var machineTools: String? = null

    //签约人
    var signUser: User? = null

    //机具领用人
    var useUser: User? = null

    //装机人
    var installUser: User? = null

    //创建人
    var user: User? = null

    var remark: String? = null

    var searchKey: String? = null

    //0未派发 1：已派发 2：进行中 3：已完成 -1：未完成
    var status: Int? = null

    var time: String? = null

    var createTime: Date? = null

    //通讯费
    var messageMoney: Double? = null


}